{% extends "base.html" %}
{% block title %}氧化钙|登录账号{% endblock %}
{% block head %}<link rel="stylesheet" href="static/css/input.css"> {% endblock %}
{% block body %}
   <div class="ipt_frame">
      <div class="ipt_frame_inside">
        {% for i in range(0, message_data_item|length)%}
        {% if message_data_item[i][3] == '1' %}
            <p><a href="{{ message_url[i][0] }}">{{ message_data_item[i][0] }}</a>{{ message_data_item[i][2] }}了<a href="{{ message_url[i][1] }}">{{ message_data_item[i][1] }}</a></p>
            {% else %}
            <p><a href="{{ message_url[i][0] }}">{{ message_data_item[i][0] }}</a>{{ message_data_item[i][2] }}了<a href="{{ message_url[i][1] }}">{{ message_data_item[i][1] }}的个人中心</a></p>
            {% endif %}
            <hr>
        {% endfor %}
        <nav aria-label="Page navigation example">
          <ul class="pagination">
            <li class="page-item">
              <a class="page-link" href="&page=1" aria-label="Previous">
                <span aria-hidden="true">&laquo;</span>
              </a>
            </li>
            {% for i in p.iter_pages() %}
              {% if index == i%}
              <li class="page-item active"><a class="page-link" href="&page={{i}}">{{i}}</a></li>
              {% else %}
              <li class="page-item"><a class="page-link" href="&page={{i}}">{{i}}</a></li>
              {% endif %}
            {% endfor %}
            <li class="page-item">
              <a class="page-link" href="&page=-1" aria-label="Next">
                <span aria-hidden="true">&raquo;</span>
              </a>
            </li>
          </ul>
        </nav>
      </div>
   </div>
{% endblock %}
